passive-interface

This command sets the specified interface to passive mode. On passive mode interfaces, all receiving packets are processed as normal and ripd does not send either multicast or unicast RIP packets except to RIP neighbors specified with the neighbor command. The interface may be specified as ‘default’ to make ripd default to passive on all interfaces. The default is to be passive on all interfaces.

Syntax

passive-interface {ifname|default} 
no passive-interface ifname  

Interface Type (ifname)

Interface ID

gigabitethernet

GigabitEthernet interface slot and port (VLAN ID is optional)

[SLOT/PORT.VLANID]

cellular

Cellular interface ID

0/0

gre

Tunnel GRE ID

[1-255] 

ipip

Tunnel IPIP ID

[1-255]

l2tp

L2TP ID

[0-99]

pppoe

PPPoE interface ID

[1-3]

pptp

PPTP ID

[0-99]

vlan

Vlan ID

[1-3999]

loopback

Loopback ID

[1-5]

bvi

Bridge interface

[1-255]

Default

NA

Command Mode

Privileged User

Example

This example sets the specified interface to passive mode.

(config-data)# router rip
(conf-router)# passive-interface vlan 2